import {StringIdAndName} from "../types/BasicModels";
import fetcher from "../apis/Fetcher";

export function getCurrentSystemService(){
    return fetcher.get<StringIdAndName>("systemServices/current")
}

export function getCurrentSystemSetting(){
    return fetcher.get<SystemServiceSetting>("systemServices/current/setting")
}

export interface SystemServiceSetting{
    nonInStoreCreateOrder:boolean
}